#!/bin/sh

WORKSPACE=$HOME/workspace
SQM_WORKSPACE=$WORKSPACE/msl-starling-ios-workspace
SSH_SQM_PATH=$HOME/Documents/sshkey/li_tian-cc_rsa
export PATH="$WORKSPACE/msl-starling-ios-doc/PowerTeam/Setup/bin":$PATH

SQM_IOS_ALIAS=$WORKSPACE/msl-starling-ios-doc/MISC/alias/ios.alias.rc
source $SQM_IOS_ALIAS

alias space="cd $HOME/workspace/msl-starling-ios-doc/SpaceTeam"
alias ws="cd $HOME/workspace"
alias sqmalias='vim $SQM_ALIAS'
#alias bundle="bundle _1.17.1_"
alias be="bundle exec"
alias buildsqm='bundle exec fastlane build_for_testing_SingaporeAir env:"AWS_STUB"'
alias unittestsqm='bundle exec fastlane unitTest_SingaporeAir device:"iPhone X"'


alias setuat="/usr/libexec/PlistBuddy -c 'Set :Environment UAT'  $SQM_WORKSPACE/msl-starling-ios/SIAMobile/SIAMobile/SingaporeAirUAT/SingaporeAirUAT-Info.plist"
alias setaws="/usr/libexec/PlistBuddy -c 'Set :Environment AWS_STUB' $SQM_WORKSPACE/msl-starling-ios/SIAMobile/SIAMobile/SingaporeAirUAT/SingaporeAirUAT-Info.plist"
alias printenv="/usr/libexec/PlistBuddy -c 'Print :Environment UAT' $SQM_WORKSPACE/msl-starling-ios/SIAMobile/SIAMobile/SingaporeAirUAT/SingaporeAirUAT-Info.plist"
